package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

@Table(name = "bus_order")
public class BusOrder extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "uuid", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String uuid;
    @Column(name = "product_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String productId;
    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String userId;
    @Column(name = "product_name", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String productName;
    @Column(name = "phone_number", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String phoneNumber;
    @Column(name = "contacts", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String contacts;
    @Column(name = "price", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String price;
    @Column(name = "remarks", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String remarks;
    /**
     * 订单状态： 0下单1确认订单2完成订单3退单4作废
     */
    @Column(name = "bus_state", type = MySqlTypeConstant.INT)
    private Integer busState;
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;
    /**
     * 评价状态
     */
    @Column(name = "ev_state", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String evState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getBusState() {
        return busState;
    }

    public void setBusState(Integer busState) {
        this.busState = busState;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
